<div id="registru-fond">

    <?php if (count($fonduri)): ?>
    <div class="list">
        <table>
            <thead>
                <tr>
                    <td><u>Denumire fond</u></td>
                    <td><u>Sold</u></td>
                </tr>
            </thead>
            <tbody>
            <?php /* @var $fond Fond */ ?>
            <?php foreach ($fonduri as $fond): ?>
                <tr>
                    <td><?php echo $fond->getDenumire() ?></td>
                    <td></td>
                </tr>
            <?php endforeach; ?>
            </tbody>
        </table>
    </div>
    <?php endif; ?>

    <div class="add">
        <form id="add-fond-form" name="<?php echo strtolower($form->getModelName()) ?>" request="<?php echo url_for($form->request)?>" action="javascript:void(0)" autocomplete="off">
            <?php echo $form->renderHiddenFields() ?>
            <label>Definiţi un fond:</label>
            <?php echo $form[FondForm::DENUMIRE]->render() ?>
            <input type="submit" value="Salvează" />
        </form>
    </div>

</div>